#ifndef GAME_H
#define GAME_H

#include <QDialog>
#include <qpainter.h>
#include <QTime>
#include <QWidget>
#include <QtWidgets>

namespace Ui {
class game;
}

class game : public QDialog
{
    Q_OBJECT
signals:
    void quit();
public:
    explicit game(QWidget *parent = nullptr);
    ~game();
    void paintEvent(QPaintEvent *event);


private slots:
    //int score;
    //int mouseitem;
        //QButtonGroup*   m_groupBtn;		    // 按钮组
        //QVector<QPushButton*> m_Mouse;		// 地鼠按钮
        //QLCDNumber* m_lcdScore;				//分数
        //void initMouse();				//初始化地鼠洞
       // void beginGame();				//随机选择一个地鼠洞变成地鼠
        //void loadScore();				//初始化分数


private:
    Ui::game *ui;
};

#endif // GAME_H
